package com.haina.vote.mapper;

import com.haina.vote.entity.Project;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SpiderMapper {
    @Select("select * from temp_project where datasource=#{dataSource}")
    public List<Project> findAll(Project project);
    @Update("update temp_project set file_list2=#{file_list2} where RecUuid=#{RecUuid} ")
    public void updateProject(Project project_update);
}
